package wxdb.parse.absyn;

import java.util.*;

import wxdb.query.*;

public class UpdtLst extends Exp{
	public UpdtCls uclause;
	public UpdtLst uclauses;
	
	public HashMap<String,Expression> namevalue = new HashMap<String,Expression>();
	
	public UpdtLst(int p, UpdtCls uc, UpdtLst ucs){
		pos = p;
		uclause = uc;
		uclauses = ucs;
		namevalue.putAll(uclause.getNameValue());
		
		if(uclauses!=null){
			namevalue.putAll(uclauses.getNameValues());
		}
	}
	
	public HashMap<String,Expression> getNameValues(){
		return namevalue;
	}

}
